﻿using SqlSugar;

namespace S_Examine.Domains.Entity
{
	/// <summary>
	/// 考核方案 主观考核指标 关系表
	/// </summary>
	[SugarTable("SchemeSubjectivity")]
	public class SchemeSubjectivity
	{
		/// <summary>
		/// 考核方案 主观考核指标 关系表Id
		/// </summary>
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 主观考核指标Id
		/// </summary>
		[SugarColumn(ColumnDescription = "主观考核指标Id")]
		public int SubjectivityId { get; set; }

		/// <summary>
		/// 方案Id
		/// </summary>
		[SugarColumn(ColumnDescription = "方案Id")]
		public int SchemeId { get; set; }

		/// <summary>
		/// 指标权重
		/// </summary>
		[SugarColumn(ColumnDescription = "指标权重", Length = 50, IsNullable = true)]
		public string? IndexWeight { get; set; }
	}
}
